<div id="result">
    
     <form method="post" id="suspendfrm" action="<?php echo Configure::read('base_url')."salestaxes/edit"; ?>" enctype="multipart/form-data">
    <table cellspacing="0" width="100%">
        <tbody>
            <tr ><td colspan="4"><div  class="div_header1"><h3>Edit Sales Tax</h3></div></td></tr>
             <tr>
                <td>
                     <?php
                 echo $this->Form->input('Salestax.id',array('type'=>'hidden','value'=>$this->data['Salestax']['id']));
                 echo $this->Form->input('Salestax.product_id',array('type'=>'hidden','value'=>$this->data['Salestax']['product_id']));
                 ?>
                    Apply
                <?php
                 echo $this->Form->input('Salestax.rate',array('div'=>false,'label'=>false,'size'=>5,'class'=>'required','style'=>'text-align:right;'));
                 ?>&nbsp;&nbsp;%
                 </td>
                 <td>
                    Sales Tax on
                 <?php echo $this->Form->input('Salestax.state_id',array('empty'=>'--Select State--','div'=>false,'label'=>false,'class'=>'required'));?>
                 </td>
                 <td>
                 <?php
                 echo $this->Form->input('Salestax.taxappliedon',array('type'=>'checkbox','div'=>false,'label'=>false));
                 ?>
                     Also,apply sales tax to shipping & handling
                 </td>
                <td colspan="2" align="left">
                 <input type="submit" style="background:#73AE0B; color:#fff; font-size:14px;" name="button" id="button" value="Edit" />

                </td>
            </tr>
        </tbody>
    </table>
        </form>
    </div>

<?php echo $html->script(array("jquery.min.js","jquery.form.js","jquery.validate.js")); ?>
<script type="text/javascript">

    jQuery(document).ready(function(){
        var v = jQuery("#suspendfrm").validate({

		submitHandler: function(form) {
				jQuery(form).ajaxSubmit({
					target: "#result"
				});	
                }
				});                       
    });
</script>